import Vue from "vue";
import App from "./App.vue";
import "@/common/vant-global.js";
import router from "./router";
import init from "@/common/init.js";
import store from "@/store";

import commonMixin from "@/common/common-mixin";
Vue.mixin(commonMixin);

Vue.config.productionTip = false;

Vue.prototype.$bus = new Vue()

init().then(() => {
  new Vue({
    router,
    store,
    render: (h) => h(App),
  }).$mount("#app");
});
